package com.oceansoft.mobile.econsole.modules.situation.service;

import com.oceansoft.mobile.econsole.modules.base.entity.Pager;
import com.oceansoft.mobile.econsole.modules.base.entity.Query;
import com.oceansoft.mobile.econsole.modules.base.entity.Result;
import com.oceansoft.mobile.econsole.modules.situation.entity.Situation;

import java.util.List;

/**
 * Created by 我的大名叫陆健伟 on 2016/2/17.
 */
public interface ISituationService {

    Pager<Situation> loadSituationsByPage(Query query);

    Pager<Situation> findSituationByPager(Query query);

    List<String> findAllHighwayName();

    Situation loadSituationById(String id);

    Result savaSituation(Situation situation);

    Result updateSituation(Situation situation);

    Result deleteSituation(String id);
}
